
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <!-- Document Title -->
	<title>{$seo.title}</title>
	<meta name="keywords" content="{$seo.keywords}" />
	<meta name="description" content="{$seo.description}" />
       <!-- Favicon -->
   <link rel="shortcut icon" href="{$lang.icon}" />
    <link href="{YUNYECMS_PUBLIC}plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" />
    <!-- CSS Files -->
    <link rel="stylesheet" href="{TPL}static/css/font-awesome.min.css">
    <!--==== Bootstrap css file ====-->
    <link rel="stylesheet" href="{TPL}static/css/bootstrap.min.css">
    <!--==== Swiper css file ====-->
    <link rel="stylesheet" href="{TPL}static/css/swiper.min.css">
    <!--==== Style css file ====-->
    <link rel="stylesheet" href="{TPL}static/css/style.css?201901">
    <!--==== Responsive css file ====-->
    <link rel="stylesheet" href="{TPL}static/css/responsive.css?201901">
    <!--==== Theme Color 1 css file ====-->
    <link rel="stylesheet" href="{TPL}static/css/theme-color-1.css">
    <!--==== Custom css file ====-->
    <link rel="stylesheet" href="{TPL}static/css/custom.css">
    <link rel="stylesheet" href="{TPL}static/css/member.css">
</head>
<body>
    
    <!-- Main header -->
    <!-- End of Main header -->
     {tpl "head",'content'}
    <!-- Page title -->
    {yy:find catid="42"}
    <section class="page-title-wrap" data-bg-img="{$data.pic}" data-rjs="2">
        <div class="container">
            <div class="row align-items-center">
                <div class="col">
                    <div class="page-title" data-animate="fadeInUp" data-delay="1.05">
                        <h1>{$data.title}</h1>
                    </div>
                </div>
            </div>
        </div>
    </section>
   {/yy}
     <!-- End of Page title -->
<div class="breadcumb-wrapper">
    <div class="container">
        <div class="pull-left">
            <ul class="list-inline link-list">
                <li><a href="{ROOT}index.php?lang={$lang.id}">Home</a></li>
				</li>
				 {loop name="breadcumb"}
				       {if $i+1!=count($breadcumb)}
					   <li><a href="{$v.url}">{$v.title}</a></li> 
					   {else}
					   <li><span>{$v.title}</span></li> 
					   {/if}
				 {/loop}
            </ul>
        </div>
        <div class="pull-right">
        </div>
        <div class="clearfix"></div>
    </div>
</div>   
    <!-- Gallery isotope Section -->
    <section class="pt-50 pb-90 default-bg">
        <div class="container">
            <div class="row">
             <!-- Start Side bar widget -->
                <div class="col-lg-3">
				   {tpl "left","member"}
                </div>
                <!-- End of Side bar widget -->
                <div class="col-lg-9">
                   <div class="row"><a href="#" class="link-procat">member profile</a></div>
                     
                    <script language="javascript">
		function check() {
				var username=document.getElementById("username");
				var pwd=document.getElementById("pwd");
				var repwd=document.getElementById("repwd");
				if (username.value==""){
					window.alert("Username can not be empty!");
					username.focus();
					return false ;
				 }				
				if (pwd.value==""){
					window.alert("password  is required!");
					pwd.focus();
					return false ;
				}	
				if (repwd.value==""){
								window.alert(" confirm password  is required! ");
								repwd.focus();
								return false ;
							}	
				if (repwd.value!=pwd.value){
								window.alert("Confirm password and password do not match!");
								pwd.focus();
								return false ;
							}	
		}
    </script>                              
                                
         	    <form name=userinfoform class="form-horizontal"  method="post"  action="{php echo url('/myinfo');}"   enctype="multipart/form-data"  onsubmit="return check();" >
                         <div class="form-group form-row">
								<label class="col-sm-4 col-form-label  pc_right " for="keywords">Username:</label>
								 <div class="col-sm-5">
									<input type="text"   class="form-control"  name="username" id="username" value="{$member.username}"  placeholder="Please enter your username or mobile number"  disabled  />
								</div>
								<div class="col-sm-2">
                                 <span class="font-red">  </span>
                               </div>
						 </div> 
                       <div class="form-group  form-row">
                          <label for="tel" class="col-sm-4 control-label pc_right">E-mail：</label>
                          <div class="col-sm-5">
                            <input type="text" name="email" class="form-control" id="email" value="{$member.email}" placeholder="Please enter E-mail">
                          </div>
                         <div class="col-sm-2">
                            <font class="red">  </font>
                          </div>
                        </div> 
                        <div class="form-group  form-row">
                          <label for="tel" class="col-sm-4 control-label pc_right">Name：</label>
                          <div class="col-sm-5">
                            <input type="text" name="name" class="form-control" id="name" value="{$member.name}" placeholder="Please type in your name">
                          </div>
                         <div class="col-sm-2">
                            <font class="red">  </font>
                          </div>
                        </div> 
					   <div class="form-group  form-row">
							<label class="col-sm-4 control-label  pc_right" for="title">Gender:</label>
							<div class="col-sm-5">
							 <input type="radio" name="sex" value="1" class="minimal-blue"  {if $member['sex']==1}checked{/if} >  Male   
							 <input type="radio" name="sex" value="2" class="minimal-blue"  {if $member['sex']==2}checked{/if} >  Female &nbsp;
							 <input type="radio" name="sex" value="3" class="minimal-blue" {if $member['sex']==3}checked{/if} >  Secret &nbsp;
							</div>
						</div>
                        <div class="form-group  form-row">
                          <label for="tel" class="col-sm-4 control-label pc_right">Mobile：</label>
                          <div class="col-sm-5">
                            <input type="text" name="mobile" class="form-control" id="mobile" value="{$member.mobile}" placeholder="Please enter your phone">
                          </div>
                         <div class="col-sm-2">
                            <font class="red">  </font>
                          </div>
                        </div> 
                         <div class="form-group  form-row">
                          <label for="tel" class="col-sm-4 control-label pc_right">Tel:</label>
                          <div class="col-sm-5">
                            <input type="text" name="phone" class="form-control" id="phone" value="{$member.phone}" placeholder="Please enter the phone number">
                          </div>
                         <div class="col-sm-2">
                            <font class="red">  </font>
                          </div>
                        </div> 
                            <div class="form-group  form-row">
                          <label for="tel" class="col-sm-4 control-label pc_right">Address：</label>
                          <div class="col-sm-5">
                            <input type="text" name="address" class="form-control" id="address" value="{$member.address}" placeholder="Please enter the address">
                          </div>
                         <div class="col-sm-2">
                            <font class="red">  </font>
                          </div>
                        </div> 
                          <div class="form-group  form-row">
                          <label for="tel" class="col-sm-4 control-label pc_right">Company:</label>
                          <div class="col-sm-5">
                            <input type="text" name="company" class="form-control" id="company" value="{$member.company}" placeholder="Please enter the company">
                          </div>
                         <div class="col-sm-2">
                            <font class="red">  </font>
                          </div>
                        </div>                                                                                                                  <div class="form-group  form-row">
                          <label for="tel" class="col-sm-4 control-label pc_right">Position:</label>
                          <div class="col-sm-5">
                            <input type="text" name="position" class="form-control" id="position" value="{$member.position}" placeholder="Please enter a position">
                          </div>
                         <div class="col-sm-2">
                            <font class="red">  </font>
                          </div>
                        </div>                 
                        <div class="form-group form-row">
                          <label for="tel" class="col-sm-4 control-label"></label>
                          <div class="col-sm-offset-4 col-sm-5">
                            <input type="hidden" name="id" id="id" value="{$member.id}">
                            <input type="hidden" name="token" id="token" value="{$token}">
                            <input type="hidden" name="yyact" id="yyact" value="edit">
                            <button type="submit" name="button" value="Send" class="btn  btn-danger"> <i class="fa fa-edit"> </i> Modify </button>&nbsp;
                          </div>
                        </div>
                        </form>
    
                   
                </div>


            </div>
        </div>
    </section>
    <!-- End Of GAllery Isotope Section -->
   {tpl 'foot','content'}
    <!-- JS Files -->
    <!-- ==== JQuery 3.3.1 js file==== -->
    <script src="{TPL}static/js/jquery-3.3.1.min.js"></script>

    <!-- ==== Bootstrap js file==== -->
    <script src="{TPL}static/js/bootstrap.bundle.min.js"></script>

    <!-- ==== JQuery Waypoint js file==== -->
    <script src="{TPL}static/js/jquery.waypoints.min.js"></script>

    <!-- ==== Sticky js file==== -->
    <script src="{TPL}static/js/sticky.min.js"></script>
    <!-- ==== Swiper js file==== -->
    <script src="{TPL}static/js/swiper.min.js"></script>
    <!-- ==== Parsley js file==== -->
    <script src="{TPL}static/js/parsley.min.js"></script>

    <!-- ==== Menu  js file==== -->
    <script src="{TPL}static/js/menu.min.js"></script>

    <!-- ==== Scrippt js file==== -->
    <script src="{TPL}static/js/scripts.js?20190123"></script>

    <!-- ==== Custom js file==== -->
    <script src="{TPL}static/js/custom.js"></script>
</body>
</html>